<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>soup-gnome-features</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="libsoup Reference Manual">
<link rel="up" href="ch05.html" title="GNOME integration">
<link rel="prev" href="ch05.html" title="GNOME integration">
<link rel="next" href="SoupCookieJarSqlite.html" title="SoupCookieJarSqlite">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="ch05.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch05.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libsoup Reference Manual</th>
<td><a accesskey="n" href="SoupCookieJarSqlite.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libsoup-2.4-soup-gnome-features.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libsoup-2.4-soup-gnome-features.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libsoup-2.4-soup-gnome-features"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libsoup-2.4-soup-gnome-features.top_of_page"></a>soup-gnome-features</span></h2>
<p>soup-gnome-features</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libsoup-2.4-soup-gnome-features.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libsoup/soup-gnome.h&gt;

#define             <a class="link" href="libsoup-2.4-soup-gnome-features.html#SOUP-TYPE-GNOME-FEATURES-2-26:CAPS" title="SOUP_TYPE_GNOME_FEATURES_2_26">SOUP_TYPE_GNOME_FEATURES_2_26</a>
#define             <a class="link" href="libsoup-2.4-soup-gnome-features.html#SOUP-TYPE-PROXY-RESOLVER-GNOME:CAPS" title="SOUP_TYPE_PROXY_RESOLVER_GNOME">SOUP_TYPE_PROXY_RESOLVER_GNOME</a>
</pre>
</div>
<div class="refsect1">
<a name="libsoup-2.4-soup-gnome-features.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libsoup-2.4-soup-gnome-features.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="SOUP-TYPE-GNOME-FEATURES-2-26:CAPS"></a><h3>SOUP_TYPE_GNOME_FEATURES_2_26</h3>
<pre class="programlisting">#define SOUP_TYPE_GNOME_FEATURES_2_26 (soup_gnome_features_2_26_get_type ())
</pre>
<p>
This returns the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> of a <a class="link" href="SoupSessionFeature.html" title="SoupSessionFeature"><span class="type">SoupSessionFeature</span></a> that automatically
adds all of the GNOME features defined for libsoup 2.26 (which is
just <a class="link" href="libsoup-2.4-soup-gnome-features.html#SOUP-TYPE-PROXY-RESOLVER-GNOME:CAPS" title="SOUP_TYPE_PROXY_RESOLVER_GNOME"><code class="literal">SOUP_TYPE_PROXY_RESOLVER_GNOME</code></a>).
</p>
<p>
You can add this to a session using
<a class="link" href="SoupSession.html#soup-session-add-feature-by-type" title="soup_session_add_feature_by_type ()"><code class="function">soup_session_add_feature_by_type()</code></a> or by using the
<a class="link" href="SoupSession.html#SOUP-SESSION-ADD-FEATURE-BY-TYPE:CAPS" title="SOUP_SESSION_ADD_FEATURE_BY_TYPE"><code class="literal">SOUP_SESSION_ADD_FEATURE_BY_TYPE</code></a> construct-time property.
</p>
<p class="since">Since 2.26</p>
</div>
<hr>
<div class="refsect2">
<a name="SOUP-TYPE-PROXY-RESOLVER-GNOME:CAPS"></a><h3>SOUP_TYPE_PROXY_RESOLVER_GNOME</h3>
<pre class="programlisting">#define SOUP_TYPE_PROXY_RESOLVER_GNOME (soup_proxy_resolver_gnome_get_type ())
</pre>
<p>
This returns the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> of a <a class="link" href="SoupProxyURIResolver.html" title="SoupProxyURIResolver"><span class="type">SoupProxyURIResolver</span></a> that can be used to
resolve HTTP proxies for GNOME applications. You can add this to
a session using <a class="link" href="SoupSession.html#soup-session-add-feature-by-type" title="soup_session_add_feature_by_type ()"><code class="function">soup_session_add_feature_by_type()</code></a> or by using the
<a class="link" href="SoupSession.html#SOUP-SESSION-ADD-FEATURE-BY-TYPE:CAPS" title="SOUP_SESSION_ADD_FEATURE_BY_TYPE"><code class="literal">SOUP_SESSION_ADD_FEATURE_BY_TYPE</code></a> construct-time property.
</p>
<p>
This feature is included in <a class="link" href="libsoup-2.4-soup-gnome-features.html#SOUP-TYPE-GNOME-FEATURES-2-26:CAPS" title="SOUP_TYPE_GNOME_FEATURES_2_26"><code class="literal">SOUP_TYPE_GNOME_FEATURES_2_26</code></a>, so if
you are using that feature, you do not need to include this feature
separately.
</p>
<p class="since">Since 2.26</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>